package com.xuhao.examai.exception;

/**
 * 资源未找到异常
 */
public class NotFoundException extends BusinessException {

	public NotFoundException(String message) {
		super(404, message);
	}

	public NotFoundException(String resource, String id) {
		super(404, String.format("%s with id %s not found", resource, id));
	}
}